package com.supkong.java.optional;

import com.supkong.java.optional.bean.Role;

/**
 * @program: jdk8-learning-example
 * @author: Kong
 * @create: 2019-10-31 17:56
 * @description:
 **/
public class RoleDao {
    /**
     * 查找权限
     * @param roleId
     */
    public Role selectOne(String roleId){
        System.out.println("查找权限对象:"+roleId);
        return  new Role();
    }

    /**
     *
     * @param role
     */
    public void save(Role role){
        System.out.println("保存Role");
    }
}
